home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SuperHack
/
SuperHack CD.bin
/
SCRIPTZ
/
CLONE.ZIP
/
CLONE.TXT
Wrap
Text File
|
1997-01-06
|
2KB
|
60 lines
;goes in aliases
/clone {
%t = 0
:start
inc %t 1
if $nick(%t,#) == $null goto end
if $address($nick(%t,#),3) == $null { whois $nick(%t,#) | /set %whois 1 }
goto start
:end
if %whois == $null clone_ | /else timer 1 5 /clone
unset %t | /unset %whois
}
/clone_ {
set %u 0 | /set %x 0 | /unset %addlist
:a
inc %u 1 | /set %v 0
if $nick(%u,#) == $null goto out
:b
inc %v 1
if $nick(%v,#) == $null goto a
if $nick(%u,#) == $nick(%v,#) goto b
if $address($nick(%u,#),3) == $address($nick(%v,#),3) {
if $address($nick(%v,#),3) !isin %addlist { set %addlist %addlist $address($nick(%v,#),3) | /inc %x 1 }
}
goto b
:out
msg # $str(1, áááááá)
if %x == 1 msg # ü $+ There is %x CLONE on # $+ ü | /else msg # ü $+ There are %x CLONES on # $+ ü
if %addlist == $null goto end
set %u 0
:c
inc %u 1 | /set %v 0 | /set %w 1 | /unset %clone | /set %add $token(%u,32,%addlist)
if %add == $null goto end
:d
inc %v 1
if $nick(%v,#) == $null goto c
if %add == $address($nick(%v,#),3) {
if %clone == $null set %clone $nick(%v,#) | /else set %clone %clone & $nick(%v,#)
}
inc %w 1
if (($nick(%w,#) == $null) && (%clone != $null)) {
msg # ü $+ %clone $+ ü ü $+ %add $+ ü
}
goto d
:end
msg # ▀δTΓKε|| | /msg # $str(1, áááááá) | /unset %u | /unset %v | /unset %w | /unset %x | /unset %addlist | /unset %add | /unset %clone
}
;"internal address list" must be checked on the "remote", "events" box.
;to start, type /clone
;or add this in popups, main window
Clone:/clone
DagoWare 96
dago@hotmail.com